import React from 'react';
import CommonList from '../../../components/CommonLists/list';
import {Button} from 'antd';

class PolicyList extends CommonList {
  constructor(props) {
    super(props);
    this.api = 'policy';
    this.operatorWidth = 200;
    this.state = {};
    // this.needOperateColumn = false;
    this.quoteButton = (record) => {
      return (
        <Button
          size='small'
          type='link'
          // disabled={record.audit_status === this.AUDIT._WAIT}
          onClick={() => this.props.quoteFn(record)}
        >
          引用
        </Button>
      );
    };
    this.btnGroup = [this.quoteButton]
  }
}

export default PolicyList;
